##版权所有20244330喵喵喵
##当然你用我也没办法毕竟这玩意挺简单的（
import random
count = 5
win = 0
jmdkuitbbu = ["剪刀", "石头", "布"]
while count != 0:
    robot = random.choice(jmdkuitbbu)
    player = input("请输入剪刀、石头、布：")
    if player == robot:
        print("平局")
    elif player == "剪刀" and robot == "布":
        print("你赢了")
        win += 1
        count -= 1
    elif player == "石头" and robot == "剪刀":
        print("你赢了")
        win += 1
        count -= 1
    elif player == "布" and robot == "石头":
        print("你赢了")
        win += 1
        count -= 1
    else:
        print("你输了")
        count -= 1
        
print("你赢了", win, "次")
